package xin.nick.system.config;

import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Nick
 * @since 2023/1/3/003
 */

@Configuration
public class SystemServiceSpringDocConfig {

    @Bean
    public GroupedOpenApi getSystemApi() {
        return GroupedOpenApi.builder()
                .group("系统管理模块_接口信息")
                .packagesToScan("xin.nick.system.controller")
                .pathsToMatch("/**")
                .build();
    }


}
